<script lang="ts">
import {defineComponent, ref} from 'vue'
import LivePlayer from "@liveqing/liveplayer-v3";

export default defineComponent({
  name: "test",
  components: {
    LivePlayer
  },
  setup() {
    const flvurl = ref("http://192.168.0.9:10000/sms/34020000002020000001/flv/hls/34020000001320000001_34020000001320000001.flv");
    return {flvurl}
  }
})
</script>

<template>
  <div style="display: flex;flex-flow: wrap">
    <LivePlayer class="area" v-for="(item,i) in 1" :videoUrl="flvurl" autoplay></LivePlayer>
  </div>
</template>

<style scoped lang="scss">
.area {
  width: 300px;
  height: 180px;
}
</style>
